﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace vn_edu_hcmup_fit_k34_c104_sta_04a_calc
{
    class Sum
    {
        public Operand Operand1 { get; set; }
        public Operand Operand2 { get; set; }

        public int Value { get { return Operand1.Value + Operand2.Value; } }

        public Sum(Operand o1, Operand o2)
        {
            Operand1 = o1;
            Operand2 = o2;
        }

    }
}
